package com.front.web.shiro.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.front.web.shiro.mapper.UserLoginLogMapper;
import com.front.web.shiro.model.UserLoginLog;
import com.front.web.shiro.service.UserLoginLogService;

@Service
public class UserLoginLogServiceImpl implements UserLoginLogService
{
    @Autowired
    private UserLoginLogMapper userLoginLogMapper;

    @Override
    public int deleteByPrimaryKey(Integer id)
    {
        return userLoginLogMapper.deleteByPrimaryKey(id);
    }

    @Override
    public void insert(UserLoginLog record)
    {
        userLoginLogMapper.insert(record);
    }

    @Override
    public UserLoginLog selectByPrimaryKey(Integer id)
    {
        return userLoginLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<UserLoginLog> findAll()
    {
        return userLoginLogMapper.findAll();
    }

    @Override
    public void updateByPrimaryKey(UserLoginLog record)
    {
        userLoginLogMapper.updateByPrimaryKey(record);
    }

}
